Important: These forums are for discussions between SkyDemon users. They are not routinely monitored by SkyDemon staff so any urgent issues should be sent directly to our Customer Support.

How to merge log files?


Author
Message
GeKaiser
GeKaiser
Too Much Forum (7.1K reputation)Too Much Forum (7.1K reputation)Too Much Forum (7.1K reputation)Too Much Forum (7.1K reputation)Too Much Forum (7.1K reputation)Too Much Forum (7.1K reputation)Too Much Forum (7.1K reputation)Too Much Forum (7.1K reputation)Too Much Forum (7.1K reputation)
Group: Forum Members
Posts: 45, Visits: 312
I have several log files that are (due to any reason) split into peaces, but belong to one continuous flight.

How can I merge them?

e.g.
1st file named "(2,2 nm) Mid-Way - Unknown 201305211720"
2nd file named "(6,4 nm) Unknown - Midlothian 201305211724"
3rd file named "(11 nm) Midlothian - Mid-Way 201305211728"

Is there any way to merge these files to one file like "(19,6 nm) Mid-Way - Mid-Way 201305211720" and show the complete breadcrumb trail?

Removing the "#Start" row in each file did not work, because of the ascending numeration in each row

Any idea?

Georg
Reply
WinHern
WinHern
Too Much Forum (2.1K reputation)Too Much Forum (2.1K reputation)Too Much Forum (2.1K reputation)Too Much Forum (2.1K reputation)Too Much Forum (2.1K reputation)Too Much Forum (2.1K reputation)Too Much Forum (2.1K reputation)Too Much Forum (2.1K reputation)Too Much Forum (2.1K reputation)
Group: Forum Members
Posts: 16, Visits: 235
An easier way is to use the export or mail function to export the files as GPX. This produces files that can be edited in a text editor, e.g. notepad, so much easier.

Open the first file, and you'll notice the actual track data is between two 'trkseg' markers, e.g.

<?xml version="1.0" encoding="utf-8"?>
<gpx xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd" version="1.1" creator="SkyDemon Plan v2.6.3.0" xmlns="http://www.topografix.com/GPX/1/1">
<trk>
<name>Northampton Sywell - Northampton Sywell</name>
<trkseg> <<<<<< =================
<trkpt lat="52.301990" lon="-0.795403">
<ele>121.4933</ele>
<speed>15.844889</speed>
<time>2010-10-16T09:56:00Z</time>
</trkpt>
.....
.....
</trkseg> <<<<<< =================
******* INSERT HERE *********
</trk>
</gpx>

Take the next file, and copy the data between the <trkseg> markers. Paste it where shown. You can do this as often as you like, but make sue you keep the data in the right time order:
<trkseg>
.....
.....
</trkseg>
<trkseg>
.....
.....
</trkseg>
<trkseg>
.....
.....
</trkseg>
<trkseg>
.....
.....
</trkseg>

.gpx format files can then be viewed in programs such as google earth.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Login

Explore
Messages
Mentions
Search